package com.springboot.middleware.middleware_grab_red_envelopes.model.mapper;

import com.springboot.middleware.middleware_grab_red_envelopes.model.entity.RedRobRecord;
import com.springboot.middleware.middleware_grab_red_envelopes.model.entity.RedRobRecordExample;
import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.scheduling.annotation.Async;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.stereotype.Repository;

@Repository
@Mapper
public interface RedRobRecordMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table red_rob_record
     *
     * @mbg.generated Mon Jan 03 14:52:59 CST 2022
     */
    long countByExample(RedRobRecordExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table red_rob_record
     *
     * @mbg.generated Mon Jan 03 14:52:59 CST 2022
     */
    int deleteByExample(RedRobRecordExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table red_rob_record
     *
     * @mbg.generated Mon Jan 03 14:52:59 CST 2022
     */
    int deleteByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table red_rob_record
     *
     * @mbg.generated Mon Jan 03 14:52:59 CST 2022
     */
    int insert(RedRobRecord record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table red_rob_record
     *
     * @mbg.generated Mon Jan 03 14:52:59 CST 2022
     */
    int insertSelective(RedRobRecord record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table red_rob_record
     *
     * @mbg.generated Mon Jan 03 14:52:59 CST 2022
     */
    List<RedRobRecord> selectByExample(RedRobRecordExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table red_rob_record
     *
     * @mbg.generated Mon Jan 03 14:52:59 CST 2022
     */
    RedRobRecord selectByPrimaryKey(Integer id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table red_rob_record
     *
     * @mbg.generated Mon Jan 03 14:52:59 CST 2022
     */
    int updateByExampleSelective(@Param("record") RedRobRecord record, @Param("example") RedRobRecordExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table red_rob_record
     *
     * @mbg.generated Mon Jan 03 14:52:59 CST 2022
     */
    int updateByExample(@Param("record") RedRobRecord record, @Param("example") RedRobRecordExample example);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table red_rob_record
     *
     * @mbg.generated Mon Jan 03 14:52:59 CST 2022
     */
    int updateByPrimaryKeySelective(RedRobRecord record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table red_rob_record
     *
     * @mbg.generated Mon Jan 03 14:52:59 CST 2022
     */
    int updateByPrimaryKey(RedRobRecord record);
}